<template>
  <h1>EL组件-容器</h1>

  <div class="common-layout">
    <el-container>
      <el-header style="background-color: #0aa1ed;color:#fff;font-weight: bold;line-height: 60px;font-size: 30px">
        智慧车辆管理系统-IVOS
      </el-header>
      <el-container>
        <el-aside width="200px">
          <el-menu>
            <el-menu-item index="1">用户管理</el-menu-item>
            <el-menu-item index="2">车辆管理</el-menu-item>
            <el-menu-item index="3">围栏管理</el-menu-item>
          </el-menu>
        </el-aside>
        <el-main>
          <el-table :data="vehicleArr">
            <el-table-column type="index" width="80" label="编号" align="center"></el-table-column>
            <el-table-column label="品牌" prop="brand"></el-table-column>
            <el-table-column label="型号" prop="model"></el-table-column>
            <el-table-column label="车牌" prop="license"></el-table-column>
            <el-table-column label="颜色" prop="color"></el-table-column>
            <el-table-column label="公里数" prop="km"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
  <hr>
  <h1>我的系统</h1>
  <template>
    <div class="common-layout">
      <el-container>
        <el-aside width="200px">
          <el-menu>

          </el-menu>
        </el-aside>
        <el-container>
          <el-header>Header</el-header>
          <el-main>Main</el-main>
        </el-container>
      </el-container>
    </div>
  </template>



</template>

<script setup>
import {ref} from "vue";

const vehicleArr = ref([
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
  {brand:"奥迪",model:"A8",license:"京A8888",color:"黑色",km:1000000},
]);
</script>

<style scoped>

</style>